package com.itheima03.day14;

/**
 * @author 刘全
 * @date 2021/8/6
 */
public class TestDemo2 {
    public static void main(String[] args) {
        //创建MyThread子类对象
        MyThread mt1 = new MyThread("憨丕");
        MyThread mt2 = new MyThread("武儿");
        //调用对象的start开启线程
        mt1.start();
        mt2.start();
    }
}
